package com.pro.dao;

import com.pro.entity.CourseOrderPlus;
import com.pro.entity.Product;
import com.pro.entity.UserOrder;
import com.pro.entity.UserOrderPlus;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductOrderListMapper {
    //查询所有商品订单列表
    public List<UserOrder> queryOrder(UserOrderPlus userOrderPlus);

    //查询订单商品
    public List<Product> getProduct(Integer productId);

    //删除订单列表
    public Boolean delOrder(Integer orderId);

    //根据商品状态查询数量
    public Integer getStatus(@Param("orderStatus") Integer orderStatus,@Param("orderType") Integer orderType);

}
